package com.fortune.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fortune.dao.COrderNewDao;
import com.fortune.service.COrderNewService;
import com.fortune.vo.cOrder.DDCOrder;
@Service
public class COrderNewServiceImpl implements COrderNewService {
	@Autowired
	private COrderNewDao cOrderNewDao;

	@Override
	public List<DDCOrder> findDDCOrderList(String clientId) {
		return cOrderNewDao.findDDCOrderList(clientId);
	}

	@Override
	public List<DDCOrder> findDDCOrderListByApproved(String clientId) {
		return cOrderNewDao.findDDCOrderListByApproved(clientId);
	}

	@Override
	public List<DDCOrder> findDDCOrderListByShipped(String clientId) {
		return cOrderNewDao.findDDCOrderListByShipped(clientId);
	}

	@Override
	public List<DDCOrder> findDDCOrderListByreceived(String clientId) {
		return cOrderNewDao.findDDCOrderListByreceived(clientId);
	}

	@Override
	public List<DDCOrder> findDDCOrderListByCompleted(String clientId) {
		return cOrderNewDao.findDDCOrderListByCompleted(clientId);
	}

}
